LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := ffmpeg
LOCAL_SRC_FILES := libffmpeg.so
include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS)
LOCAL_SRC_FILES := com_chuangmi_decoder_ImiVideoDecoder.cpp \
imicodecffmpegapi.cpp \
imicodecffmpegapi_impl.cpp
LOCAL_LDLIBS += -llog -lz -landroid
LOCAL_MODULE :=ImiVideoDecoder
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
LOCAL_C_FLAGS += -mfpu=neon -mfloat-abi=softfp -fPIC -fstack-protector
LOCAL_SHARED_LIBRARIES:= ffmpeg
include $(BUILD_SHARED_LIBRARY)


include $(CLEAR_VARS)
LOCAL_SRC_FILES := com_chuangmi_mp4_ImiVideoSynthesis.cpp \
imimp4_ffmpeg_api.cpp \
imimp4_ffmpeg_api_impl.cpp \
imimp4_ffmpeg.cpp
LOCAL_LDLIBS += -llog -lz -landroid
LOCAL_MODULE :=ImiVideoSynthesis
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
LOCAL_C_FLAGS += -mfpu=neon -mfloat-abi=softfp -fPIC -fstack-protector
LOCAL_SHARED_LIBRARIES:= ffmpeg
include $(BUILD_SHARED_LIBRARY)






